package scau.mis4.chanyulin.entity;

import java.sql.Timestamp;

/**
 * Created by cyl on 2017/12/4.
 * 温度实体
 */
public class Temp {

    private int id;
    private double temp1;
    private double temp2;
    private double temp3;
    private double temp4;
    private double temp5;
    private double temp6;
    private double avg;
    private Timestamp time;

    public Temp(int id, double temp1, double temp2, double temp3, double temp4, double temp5, double temp6, double avg, Timestamp time) {
        this.id = id;
        this.temp1 = temp1;
        this.temp2 = temp2;
        this.temp3 = temp3;
        this.temp4 = temp4;
        this.temp5 = temp5;
        this.temp6 = temp6;
        this.avg = avg;
        this.time = time;
    }

    @Override
    public String toString() {
        return "Temp{" +
                "id=" + id +
                ", temp1=" + temp1 +
                ", temp2=" + temp2 +
                ", temp3=" + temp3 +
                ", temp4=" + temp4 +
                ", temp5=" + temp5 +
                ", temp6=" + temp6 +
                ", avg=" + avg +
                ", time=" + time +
                '}';
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public double getTemp1() {
        return temp1;
    }

    public void setTemp1(double temp1) {
        this.temp1 = temp1;
    }

    public double getTemp2() {
        return temp2;
    }

    public void setTemp2(double temp2) {
        this.temp2 = temp2;
    }

    public double getTemp3() {
        return temp3;
    }

    public void setTemp3(double temp3) {
        this.temp3 = temp3;
    }

    public double getTemp4() {
        return temp4;
    }

    public void setTemp4(double temp4) {
        this.temp4 = temp4;
    }

    public double getTemp5() {
        return temp5;
    }

    public void setTemp5(double temp5) {
        this.temp5 = temp5;
    }

    public double getTemp6() {
        return temp6;
    }

    public void setTemp6(double temp6) {
        this.temp6 = temp6;
    }

    public double getAvg() {
        return avg;
    }

    public void setAvg(double avg) {
        this.avg = avg;
    }

    public Timestamp getTime() {
        return time;
    }

    public void setTime(Timestamp time) {
        this.time = time;
    }

}
